﻿Imports System.ComponentModel.DataAnnotations
Imports System.ComponentModel.DataAnnotations.Schema

<Table("Marca")>
Public Class Marca
    Implements  IEntity

    <Key()>
    <DatabaseGenerated(DatabaseGeneratedOption.Identity)>
    Public Property IdMarca As Integer

    <StringLength(50)>
    Public Property Descripcion As String

    <NotMapped()>
    Public Property ID() As Integer Implements IEntity.ID
        Get
            Return IdMarca
        End Get
        Set(ByVal value As Integer)
            IdMarca = value
        End Set
    End Property
End Class
